|
Cytosim
PI
Cytoskeleton Simulator
|
This provides the necessary pointers to build doubly-linked lists:
A given Node can only be part of one NodeList. One can unlink the object with
Public Member Functions | |
| Node () | |
| constructor set as unlinked | |
| virtual | ~Node () |
| destructor More... | |
| bool | linked () const |
| true if Node is linked | |
| Node * | next () const |
| the next Node in the list, or zero if this is last | |
| Node * | prev () const |
| the previous Node in the list, or zero if this is first | |
| NodeList * | list () const |
| the list where the object is linked, or zero | |
| ObjectSet * | objset () const |
| return associated ObjectSet | |
Protected Attributes | |
| Node * | nNext |
| the next Node in the list | |
| Node * | nPrev |
| the previous Node in the list | |
Friends | |
| class | NodeList |